package com.cskaoyan.bean.vo.zxw;

import com.cskaoyan.bean.vo.zxw.StatOrderRowsVo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 订单统计请求JSON参数对应实体类
 *
 * @author 曾添乐啦
 * @since 2022/12/30 10:56
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StatOrderVo {

    /**
     * columns : ["day","orders","customers","amount","pcr"]
     * rows : [{"amount":817,"orders":4,"customers":1,"day":"2022-07-15","pcr":817},{"amount":8761.9,"orders":8,"customers":1,"day":"2022-07-16","pcr":8761.9},{"amount":405665,"orders":7,"customers":1,"day":"2022-11-22","pcr":405665},{"amount":81701,"orders":19,"customers":2,"day":"2022-11-23","pcr":40850.5},{"amount":185977,"orders":9,"customers":1,"day":"2022-11-24","pcr":185977},{"amount":4001,"orders":1,"customers":1,"day":"2022-11-25","pcr":4001}]
     */
    private List<String> columns;
    private List<StatOrderRowsVo> rows;


}
